package com.project.mapper;

import com.github.pagehelper.PageInfo;
import com.project.bean.LogBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * 日志mapper接口
 */
@Mapper
public interface ILogMapper {

    /**
     * 分页动态查询日志
     * @param startDate 起始日期
     * @param endDate 结束日期
     * @return 分页对象
     */
    public List<LogBean> cutByItem(@Param("startDate") LocalDate startDate,
                                   @Param("endDate") LocalDate endDate);
}
